//
//  UITableView+Datasource.h
//  horse
//
//  Created by peter on 15/8/2.
//  Copyright (c) 2015年 soho. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UITableView (Datasource)
@property(nonatomic, strong) NSMutableArray *dataArray;
@property(nonatomic, assign) int page;
@property(nonatomic, assign) int totals;
/** 大图文章的页码 */
@property(nonatomic, assign) int bigStart;
/** 小图文章的当前加载的数量 */
@property(nonatomic, assign) int singleStart;
@property(nonatomic, copy) void(^processDataSourceCallBack)(UITableView *);
- (void)addToDataSourceWithArray:(NSArray *)array;
- (void)insertToDataSourceWithArray:(NSArray *)array atIndex:(NSUInteger)index;
@property(nonatomic, assign, getter=isShowNoDataView) BOOL showNoDataView;
- (void)scrollToUp;
- (void)scrollToBottom;
@end


